//
//  ZLWrongParsingQuestionTitleCell.m
//  ZLExamination
//
//  Created by Zheng on 2017/9/13.
//  Copyright © 2017年 Zheng. All rights reserved.
//

#import "ZLWrongParsingQuestionTitleCell.h"

@implementation ZLWrongParsingQuestionTitleCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        
        [self.contentView addSubview:self.questionLbl];
        
        [_questionLbl mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(12);
            make.right.mas_equalTo(-12);
            make.top.mas_equalTo(5);
            make.bottom.mas_equalTo(-8);
        }];
    }
    return self;
}

- (UILabel *)questionLbl {
    if (!_questionLbl) {
        _questionLbl = [[UILabel alloc] init];
        _questionLbl.font = kMyFont(15);
        _questionLbl.numberOfLines = 0;
        _questionLbl.textColor = [UIColor darkGrayColor];
        [_questionLbl sizeToFit];
    }
    return _questionLbl;
}

@end
